package com.yn.xr.news.mode;

import java.io.Serializable;
import java.util.Date;


/**
 * @description: 实体类-- 新闻点赞信息记录表  
 * @fileName:NewsArticleApproveInfo.java 
 * @createTime:2015年1月26日 下午4:12:29  
 * @author:yangjiao  
 * @version 1.0.0  
 *
 */
public class NewsArticleApproveInfo implements Serializable
{
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = -5322799852264829131L;
    // Fields
    //新闻点赞记录唯一标识
    private Integer approveId;
    //新闻唯一标识
    private Integer newsId;
    //点赞用户Id
    private Integer userId;
    //点赞时间
    private Date approveTime;
    //第几个点赞的
    private Integer approveTimes;
    //点赞用户的IP地址
    private String ip;
    
    
    // Constructors
    
    /** default constructor */
    public NewsArticleApproveInfo()
    {
    }
    
    /** full constructor */
    public NewsArticleApproveInfo(Integer approveId, Integer newsId,
            Integer userId, Date approveTime, Integer approveTimes, String ip)
    {
        super();
        this.approveId = approveId;
        this.newsId = newsId;
        this.userId = userId;
        this.approveTime = approveTime;
        this.approveTimes = approveTimes;
        this.ip = ip;
    }
    
    // Property accessors
    public Integer getApproveId()
    {
        return this.approveId;
    }
    
    public void setApproveId(Integer approveId)
    {
        this.approveId = approveId;
    }
    
    public Integer getNewsId()
    {
        return newsId;
    }
    
    public void setNewsId(Integer newsId)
    {
        this.newsId = newsId;
    }

    public Integer getUserId()
    {
        return userId;
    }

    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Date getApproveTime()
    {
        return approveTime;
    }

    public void setApproveTime(Date approveTime)
    {
        this.approveTime = approveTime;
    }
    
    public Integer getApproveTimes()
    {
        return approveTimes;
    }
    
    public void setApproveTimes(Integer approveTimes)
    {
        this.approveTimes = approveTimes;
    }

    public String getIp()
    {
        return ip;
    }
    
    public void setIp(String ip)
    {
        this.ip = ip;
    }
}
